# Contributor: David Demelier <markand@malikania.fr>
# Maintainer: David Demelier <markand@malikania.fr>
pkgname=libretro-quicknes
pkgver=0_git20200106
pkgrel=0
_commit="31654810b9ebf8b07f9c4dc27197af7714364ea7"
pkgdesc="QuickNES core library"
url="https://github.com/libretro/QuickNES_Core"
arch="all"
license="LGPL-2.1-or-later"
source="$pkgname-$_commit.tar.gz::https://github.com/libretro/QuickNES_Core/archive/$_commit.tar.gz"
builddir="$srcdir/QuickNES_Core-$_commit"
options="!check" # No tests

build() {
	make
}

package() {
	install -Dm644 quicknes_libretro.so "$pkgdir"/usr/lib/libretro/quicknes_libretro.so
}

sha512sums="e175d4a6f825f604bda32865b17943ad8b4ba43a80b175403a2ce93e933339dbfba1a53f429cdfac6b56d818aba138ca9cc975a57370b7ed7ba687e0593fc2e9  libretro-quicknes-31654810b9ebf8b07f9c4dc27197af7714364ea7.tar.gz"
